package com.ruoyi.finance.service;

import java.util.List;
import com.ruoyi.finance.domain.ReceiveReconciliation;
import com.ruoyi.finance.dto.ApprovalDto;

/**
 * 应收核销单Service接口
 * 
 * @author ruoyi
 * @date 2024-11-14
 */
public interface IReceiveReconciliationService 
{
    /**
     * 查询应收核销单
     * 
     * @param id 应收核销单主键
     * @return 应收核销单
     */
    public ReceiveReconciliation selectReceiveReconciliationById(Long id);

    /**
     * 查询应收核销单列表
     * 
     * @param receiveReconciliation 应收核销单
     * @return 应收核销单集合
     */
    public List<ReceiveReconciliation> selectReceiveReconciliationList(ReceiveReconciliation receiveReconciliation);

    /**
     * 新增应收核销单
     * 
     * @param receiveReconciliation 应收核销单
     * @return 结果
     */
    public int insertReceiveReconciliation(ReceiveReconciliation receiveReconciliation);

    /**
     * 修改应收核销单
     * 
     * @param receiveReconciliation 应收核销单
     * @return 结果
     */
    public int updateReceiveReconciliation(ReceiveReconciliation receiveReconciliation);

    /**
     * 批量删除应收核销单
     * 
     * @param ids 需要删除的应收核销单主键集合
     * @return 结果
     */
    public int deleteReceiveReconciliationByIds(Long[] ids);

    /**
     * 删除应收核销单信息
     * 
     * @param id 应收核销单主键
     * @return 结果
     */
    public int deleteReceiveReconciliationById(Long id);

    public int approval(ApprovalDto approvalDto);

}
